# -*- coding: utf_8 -*-
# @Time : 2021/8/12 0012 15:24
# @Author : lyw
# @Remark : 门禁出入记录

from mxsoftpy import View
from server.common.IOTManager.Janitor.record import RecordServer


class Record(View):

    def get(self):
        """
        获取出入记录
        @return:
        """
        return "ok", RecordServer().get_record(**self.request.GET)
